home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 2.iso / dist / fw_netpbm.idb / usr / freeware / catman / u_man / cat1 / asciitopgm.Z / asciitopgm
Text File  |  2001-01-10  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      aaaasssscccciiiiiiiittttooooppppggggmmmm((((1111))))   UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22226666 DDDDeeeecccceeeemmmmbbbbeeeerrrr    1111999999994444))))     aaaasssscccciiiiiiiittttooooppppggggmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       asciitopgm - convert ASCII graphics into a portable graymap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       aaaasssscccciiiiiiiittttooooppppggggmmmm [-d divisor] _h_e_i_g_h_t _w_i_d_t_h [_a_s_c_i_i_f_i_l_e]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       Reads    ASCII data as input.  Produces a portable graymap with
  16.       pixel    values which are an approximation of the "brightness"
  17.       of the ASCII characters, assuming black-on-white printing.
  18.       In other words, a capital M is very dark, a period is    ver
  19.       light, and a space is    white.    Input lines which are fewer
  20.       than _w_i_d_t_h characters    are automatically padded with spaces.
  21.  
  22.       The _d_i_v_i_s_o_r argument is a floating-point number by which the
  23.       output pixels    are divided; the default value is 1.0.    This
  24.       can be used to adjust    the brightness of the graymap:    for
  25.       example, if the image    is too dim, reduce the divisor.
  26.  
  27.       In keeping with (I believe) Fortran line-printer
  28.       conventions, input lines beginning with a + (plus) character
  29.       are assumed to "overstrike" the previous line, allowing a
  30.       larger range of gray values.
  31.  
  32.       This tool contradicts    the message in the _p_b_m_t_o_a_s_c_i_i manual:
  33.       "Note    that there is no asciitopbm tool - this    transformation
  34.       is one-way."
  35.  
  36.      BBBBUUUUGGGGSSSS
  37.       The table of ASCII-to-grey values is subject to
  38.       interpretation, and, of course, depends on the typeface
  39.       intended for the input.
  40.  
  41.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  42.       pbmtoascii(1), pgm(5)
  43.  
  44.      AAAAUUUUTTTTHHHHOOOORRRR
  45.       Wilson H. Bent. Jr. (whb@usc.edu)
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 12/12/00)
  64.  
  65.  
  66.  
  67.